package com.wisdytech.linkdcs.equipLifeCycle.maintain.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-06-13
 */
@TableName("TT_EQ_MAINTENANCE_TASK")
public class MaintenanceTask extends Model<MaintenanceTask> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 保养计划表id
     */
    @TableField("PLAN_ID")
    private String planId;
    /**
     * 上次保养时间
     */
    @TableField("LAST_DATE")
    private Date lastDate;
    /**
     * 下次保养时间
     */
    @TableField("NEXT_DATE")
    private Date nextDate;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 保养任务类型
     */
    @TableField("TYPE")
    private String type;
    /**
     * 设备编码
     */
    @TableField("EQUIP_CODE")
    private String equipCode;
    /**
     * 任务状态（是否已确认）
     */
    @TableField("TASK_STATUS")
    private String taskStatus;
    /**
     * 供应商
     */
    @TableField(exist=false)
    private String supplier;
    /**
     * 设备类型
     */
    @TableField(exist=false)
    private String modelType;
    /**
     * 设备名称
     */
    @TableField(exist=false)
    private String equipName;
    /**
     * 厂区名称
     */
    @TableField(exist=false)
    private String factoryName;
    /**
     * 产线名称
     */
    @TableField(exist=false)
    private String lineName;
    /**
     * 车间名称
     */
    @TableField(exist=false)
    private String shopName;
    /**
     * 区域名称
     */
    @TableField(exist=false)
    private String locationName;
    /**
     * 保养类别编号
     */
    @TableField(exist=false)
    private String typeCode;
    /**
     * 保养周期
     */
    @TableField(exist=false)
    private String maintainCycle;
    /**
     * 保养类别id
     */
    @TableField(exist=false)
    private String typeId;
    
    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public Date getNextDate() {
        return nextDate;
    }

    public void setNextDate(Date nextDate) {
        this.nextDate = nextDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}

	public String getEquipName() {
		return equipName;
	}

	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}

	public String getFactoryName() {
		return factoryName;
	}

	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public String getMaintainCycle() {
		return maintainCycle;
	}

	public void setMaintainCycle(String maintainCycle) {
		this.maintainCycle = maintainCycle;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}


    
    
}
